package com.zxy.basic.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 租户用户关系冗余数据
 * </p>
 *
 * @author zhangxiaoyang
 * @since 2020-06-11
 */
@ApiModel(value="SyncTenantUserVO", description="租户用户关系冗余数据")
public class SyncTenantUserVO implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;

    @ApiModelProperty(value = "工号/学号")
    private String usercode;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "姓名")
    private String personName;

    @ApiModelProperty(value = "微信OpenId")
    private String wxOpenId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户类型")
    private Integer userType;

    
    private String tenantViewName;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }
    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
    public String getTenantViewName() {
        return tenantViewName;
    }

    public void setTenantViewName(String tenantViewName) {
        this.tenantViewName = tenantViewName;
    }

    @Override
    public String toString() {
        return "TenantUser{" +
        ", mobile=" + mobile +
        ", tenantId=" + tenantId +
        ", usercode=" + usercode +
        ", username=" + username +
        ", personName=" + personName +
        ", wxOpenId=" + wxOpenId +
        ", userId=" + userId +
        ", userType=" + userType +
        ", tenantViewName=" + tenantViewName +
        "}";
    }
}
